package com.ruoyi.jiuzai.service;

import java.util.List;
import com.ruoyi.jiuzai.domain.Cangkumingxi;

/**
 * 物资出入库明细Service接口
 * 
 * @author ruoyi
 * @date 2025-06-21
 */
public interface ICangkumingxiService 
{
    /**
     * 查询物资出入库明细
     * 
     * @param mingId 物资出入库明细主键
     * @return 物资出入库明细
     */
    public Cangkumingxi selectCangkumingxiByMingId(Long mingId);

    /**
     * 查询物资出入库明细列表
     * 
     * @param cangkumingxi 物资出入库明细
     * @return 物资出入库明细集合
     */
    public List<Cangkumingxi> selectCangkumingxiList(Cangkumingxi cangkumingxi);

    /**
     * 新增物资出入库明细
     * 
     * @param cangkumingxi 物资出入库明细
     * @return 结果
     */
    public int insertCangkumingxi(Cangkumingxi cangkumingxi);

    /**
     * 修改物资出入库明细
     * 
     * @param cangkumingxi 物资出入库明细
     * @return 结果
     */
    public int updateCangkumingxi(Cangkumingxi cangkumingxi);

    /**
     * 批量删除物资出入库明细
     * 
     * @param mingIds 需要删除的物资出入库明细主键集合
     * @return 结果
     */
    public int deleteCangkumingxiByMingIds(Long[] mingIds);

    /**
     * 删除物资出入库明细信息
     * 
     * @param mingId 物资出入库明细主键
     * @return 结果
     */
    public int deleteCangkumingxiByMingId(Long mingId);
}
